﻿@{
    ViewBag.Title = "Index";
    Dictionary<int, string> t = ViewBag.titles;
    List<KeyValuePair<int, string>> titles = t.ToList<KeyValuePair<int, string>>();
    SelectList sList = new SelectList(titles, "Key", "Value");
}

<h2>Staffing Expert Index</h2>

<p class="button">
   @Html.ActionLink("Create Job Title","CreateTitle")
</p>
<br />

<p>
<form action="StaffingExpert/CreateQuestionnaire/">
    @Html.DropDownList("id", sList)
    <input type="submit" value="Edit" />
</form>
</p>